﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;

namespace Demo0616
{
    class StuName : IComparer<Student>
    {
        //学生姓名
        public int Compare(Student x,Student y)
        {
            return x.Name.CompareTo(y.Name);
        }
    }
}
